Monolog\LoggerTest S

Total Complexity 34
Dependencies 11
Dependents 0
Total lines 674
Lines of code 443
Logical lines of code 260
Comment lines 114
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
testReset()
S
42 1 60
testHandlersNotCalledBeforeFirstHandling()
S
51 1 33
testHandlersNotCalledBeforeFirstHandlingWithAssocArray()
S
51 1 30
testProcessorsAreCalledOnlyOnce()
S
54 1 24
testBubblingWhenTheHandlerReturnsFalse()
S
55 1 24
testNotBubblingWhenTheHandlerReturnsTrue()
S
55 1 23
testCustomHandleException()
S
55 1 20
logMethodProvider()
S
55 1 20
testIsHandling()
S
58 1 17
useMicrosecondTimestampsProvider()
S
70 2 6
testDefaultHandleException()
S
60 1 14
testProcessorsNotCalledWhenNotHandled()
S
60 1 14
testSetHandlers()
S
61 1 13
testProcessorsAreExecuted()
S
62 1 12
testPushPopProcessor()
S
65 1 10
testSetTimezone()
S
65 1 9
testWithName()
S
68 1 7
testConvertPSR3ToMonologLevel()
S
63 1 10
testBadExceptionHandlerType()
S
76 1 4
testSetExceptionHandler()
S
67 1 8
testGetLevelNameThrows()
S
81 1 3
testUseMicrosecondTimestamps()
S
64 1 9
setTimezoneProvider()
S
71 1 6
testLogMethods()
S
66 1 8
testChannel()
S
66 1 8
testPushProcessorWithNonCallable()
S
75 1 4
testLog()
S
66 1 8
testLogNotHandled()
S
66 1 8
testHandlersInCtor()
S
68 1 7
testProcessorsInCtor()
S
68 1 7
testPushPopHandler()
S
65 1 10
testGetLevelName()
S
79 1 3
testGetName()
S
75 1 4